package com.lauor.test.service;

import com.lauor.test.entity.User;

import java.util.List;

public interface UserService {
    int createUser(User user);

    List<User> queryAll(int start, int pageSize);

    List<User> queryByName(String name);

    int updateUser(User user, int id);

    int deleteUserById(int id);
}